package com.yxw.yxnet_cd_center.customer_service.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@TableName("dict_value_to_notice_message")
public class DictValueToNoticeMessageEntity   implements Serializable
{
    private static final long serialVersionUID = 91697695127650L;
    /**
    *主键ID
    */
    @TableField("notice_id")
    @NotNull(message = "主键ID不可为空")
    @ApiModelProperty(value = "主键ID")
    private Long noticeId;
    /**
    *项目名称
    */
    @TableField("project_name")
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    /**
    *适用状态 1:在线 2：离线
    */
    @TableField("suit_status")
    @ApiModelProperty(value = "适用状态 1:在线 2：离线")
    private Integer suitStatus;
    /**
    *提醒状态 1:开启 0：禁用
    */
    @TableField("status")
    @ApiModelProperty(value = "提醒状态 1:开启 0：禁用")
    private Integer status;
    /**
    *提醒内容
    */
    @TableField("notice_dec")
    @ApiModelProperty(value = "提醒内容")
    private String noticeDec;
    /**
    *是否循环提醒 0:否 1：是
    */
    @TableField("cycle_flag")
    @ApiModelProperty(value = "是否循环提醒 0:否 1：是")
    private Integer cycleFlag;
    /**
    *循环频次
    */
    @TableField("cycle_freq")
    @ApiModelProperty(value = "循环频次")
    private Integer cycleFreq;
    /**
    *循环时长 分钟
    */
    @TableField("cycle_time")
    @ApiModelProperty(value = "循环时长 分钟")
    private Integer cycleTime;
    /**
    *提醒对象 1：员工 2：客服
    */
    @TableField("notice_object")
    @ApiModelProperty(value = "提醒对象 1：员工 2：客服")
    private Integer noticeObject;
    /**
    *提醒对象名称
    */
    @TableField("notice_object_name")
    @ApiModelProperty(value = "提醒对象名称")
    private String noticeObjectName;
    /**
    *创建时间
    */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private java.sql.Timestamp createTime;
    /**
    *创建人ID
    */
    @TableField("create_id")
    @ApiModelProperty(value = "创建人ID")
    private Long createId;
    /**
    *创建人名称
    */
    @TableField("create_name")
    @ApiModelProperty(value = "创建人名称")
    private String createName;
    /**
    *更新时间
    */
    @TableField("update_time")
    @ApiModelProperty(value = "更新时间")
    private java.sql.Timestamp updateTime;
    /**
    *更新人ID
    */
    @TableField("update_id")
    @ApiModelProperty(value = "更新人ID")
    private Long updateId;
    /**
    *更新人名称
    */
    @TableField("update_name")
    @ApiModelProperty(value = "更新人名称")
    private String updateName;
    /**
    *项目ID  字典表
    */
    @TableField("project_id")
    @ApiModelProperty(value = "项目ID  字典表")
    private Integer projectId;
    /**
    *字典键值
    */
    @TableField("dict_value")
    @ApiModelProperty(value = "字典键值")
    private String dictValue;
    
    public YxCsNoticeEntity getYxCsNoticeEntity()
    {
        YxCsNoticeEntity oDictValueToNoticeMessageEntity = new YxCsNoticeEntity();
        oDictValueToNoticeMessageEntity.setId(noticeId);
        oDictValueToNoticeMessageEntity.setProjectName(projectName);
        oDictValueToNoticeMessageEntity.setSuitStatus(Long.valueOf(suitStatus));
        oDictValueToNoticeMessageEntity.setStatus(status);
        oDictValueToNoticeMessageEntity.setNoticeDec(noticeDec);
        oDictValueToNoticeMessageEntity.setCycleFlag(cycleFlag);
        oDictValueToNoticeMessageEntity.setCycleFreq(cycleFreq);
        oDictValueToNoticeMessageEntity.setCycleTime(cycleTime);
        oDictValueToNoticeMessageEntity.setNoticeObject(Long.valueOf(noticeObject));
        oDictValueToNoticeMessageEntity.setNoticeObjectName(noticeObjectName);
        oDictValueToNoticeMessageEntity.setCreateTime(createTime);
        oDictValueToNoticeMessageEntity.setCreateId(createId);
        oDictValueToNoticeMessageEntity.setCreateName(createName);
        oDictValueToNoticeMessageEntity.setUpdateTime(updateTime);
        oDictValueToNoticeMessageEntity.setUpdateId(updateId);
        oDictValueToNoticeMessageEntity.setUpdateName(updateName);
        oDictValueToNoticeMessageEntity.setProjectId(projectId);
        return oDictValueToNoticeMessageEntity;    
    }
}

